import type { App } from 'vue';
import { Button } from './Button';
// import Antd from 'ant-design-vue';
import {
  Input,
  Layout,
  Row,
  Col,
  Card,
  Tag,
  Steps,
  Divider,
  Alert,
  Select,
  Tabs,
  TabPane,
  DatePicker,
} from 'ant-design-vue';

export function registerGlobComp(app: App) {
  // app.use(Antd);
  app
    .use(Input)
    .use(Button)
    .use(Layout)
    .use(Row)
    .use(Col)
    .use(Card)
    .use(Tag)
    .use(Steps)
    .use(Divider)
    .use(Alert)
    .use(Select)
    .use(Tabs)
    .use(TabPane)
    .use(DatePicker);
}
